package com.book.common.lang;

/**
 * Description：
 * @Author： leo.xiong
 * @CreateDate： 2020/4/15 16:42
 * @Email： leo.xiong@suyun360.com
 * Version：1.0
 */
public class Tuple4<T1, T2, T3, T4> extends Tuple3<T1, T2, T3> {
    private final T4 _4;

    public Tuple4(T1 t1, T2 t2, T3 t3, T4 t4) {
        super(t1, t2, t3);
        this._4 = t4;
    }

    public T4 _4() {
        return _4;
    }

    @Override
    public String toString() {
        return "(" + super._1() + "," + super._2() + "," + super._3() + "," + _4 + ")";
    }


}
